package ops

import "github.com/gogf/gf/util/gconv"

// Fill with you ideas below.

func (r *Job) PkVal() int {
	return gconv.Int(r.Id)
}

func (r *Job) TableName() string {
	return Table
}

func (m *arModel) Columns() string {
	sqlColumns := "t.id, t.job_id as jobId, t.script_id as scriptId ,t.tasks, t.status, t.start_time as startTime, t.end_time as endTime"
	return sqlColumns
}